<?php

// Convert the API result to XML

$domDocument = app()->getStringHelper()->convertToXml(v('apiResult'));
$output = $domDocument->saveXML();


// Prepare variables for the view

v('output', $output);

?>
